package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TravelLike;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface TravelLikeMapper {


    int insert(TravelLike entity);

    TravelLike selectByPrimaryKey(Integer id);

    List<TravelLike> selectAll();

    void updateStatus(TravelLike commentLike);

    int countNumByCommentId(Long commentId);

    Integer getStatusByLikerId(TravelLike travelLike);

    void delete(TravelLike travelLike);

    Integer countNumBytravelId(Long userId);

    List<Object> getTravelLikerById(QueryObject qo);

    void changBrowerStatus(Long travellikerId);

    List<Object> lookingForTravelLikeIdByUserId(Long userId);
}